package com.applcn.goods.repo.entity;

import com.applcn.core.base.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * com.applcn.goods.repo.entity
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-01-19 23:41
 */
@Data
public class CartEntity extends BaseEntity {

    private static final long serialVersionUID = 8479168952713644221L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * skuId
     */
    private Long goodsSkuId;

    /**
     * 购买数量
     */
    private Integer count;

    /**
     * 价格(元)
     */
    private BigDecimal price;

    /**
     * 实际支付价格(元)
     */
    private BigDecimal realPrice;
}
